[INFO] fetching crate freertos_rs 0.3.0...
[INFO] checking freertos_rs-0.3.0 against try#f4690f24e7d9bcb0b168a02b06dd61391e8bd55a for pr-157814-crater-rollup
[INFO] extracting crate freertos_rs 0.3.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate freertos_rs 0.3.0
[INFO] finished tweaking crates.io crate freertos_rs 0.3.0
[INFO] tweaked toml for crates.io crate freertos_rs 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate freertos_rs 0.3.0 on toolchain f4690f24e7d9bcb0b168a02b06dd61391e8bd55a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `freertos_rs` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7310280ef1e651f0b45144aa6ee6fe65a38c494d57adc9bbc2f02d8c7144374e
[INFO] running `Command { std: "docker" "start" "7310280ef1e651f0b45144aa6ee6fe65a38c494d57adc9bbc2f02d8c7144374e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7310280ef1e651f0b45144aa6ee6fe65a38c494d57adc9bbc2f02d8c7144374e" "/opt/rustwide/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7310280ef1e651f0b45144aa6ee6fe65a38c494d57adc9bbc2f02d8c7144374e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7310280ef1e651f0b45144aa6ee6fe65a38c494d57adc9bbc2f02d8c7144374e" "/opt/rustwide/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `freertos_rs` (manifest) generated 1 warning
[INFO] [stderr]     Checking freertos_rs v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::prelude::*`
[INFO] [stdout]  --> src/prelude/no_std.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use core::prelude::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::cell::RefCell`
[INFO] [stdout]  --> src/prelude/no_std.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use core::cell::RefCell;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Range`
[INFO] [stdout]  --> src/prelude/no_std.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use core::ops::Range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num::Wrapping`
[INFO] [stdout]  --> src/prelude/no_std.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use core::num::Wrapping;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::intrinsics::write_bytes`
[INFO] [stdout]   --> src/prelude/no_std.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use core::intrinsics::write_bytes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::rc::Rc`
[INFO] [stdout]   --> src/prelude/no_std.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use alloc::rc::Rc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::base::*`
[INFO] [stdout]  --> src/shim.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::base::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/shim.rs:107:36
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn freertos_rs_spawn_task(_f: extern fn(FreeRtosMutVoidPtr) -> FreeRtosMutVoidPtr, _value: FreeRtosMutVoidPtr, _name: FreeR...
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/shim.rs:117:157
[INFO] [stdout]     |
[INFO] [stdout] 117 | ...er_id: FreeRtosVoidPtr, _callback: extern fn(FreeRtosTimerHandle) -> ()) -> FreeRtosTimerHandle { 0 as _ }
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::*`
[INFO] [stdout]  --> src/timers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::task::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mutex::*`
[INFO] [stdout]  --> src/timers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::mutex::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::queue::*`
[INFO] [stdout]  --> src/timers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::queue::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library
[INFO] [stdout]   --> src/prelude/no_std.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use core::intrinsics::write_bytes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-06-12; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]  --> src/units.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]  --> src/units.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/timers.rs:74:45
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...                   callback: Box<Fn(Timer) + Send + 'a>,)
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 |                               callback: Box<dyn Fn(Timer) + Send + 'a>,)
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:108:72
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<dyn Fn(Timer)>);
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:191:56
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<dyn Fn(Timer)>);
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         unsafe { freertos_rs_task_notify_take(if clear { 1 } else { 0 }, wait_for.to_ticks()) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let r = unsafe { 
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         unsafe { freertos_rs_xTaskGetTickCount() }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         unsafe { freertos_rs_get_number_of_tasks() as usize }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let handle = unsafe { freertos_rs_queue_create(max_size as u32, item_size as u32) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/mutex.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let m = unsafe { freertos_rs_create_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:125:19
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let res = unsafe { freertos_rs_take_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         unsafe { freertos_rs_give_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::prelude::*`
[INFO] [stdout]  --> src/prelude/no_std.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use core::prelude::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:154:17
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let m = unsafe { freertos_rs_create_recursive_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::cell::RefCell`
[INFO] [stdout]  --> src/prelude/no_std.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use core::cell::RefCell;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Range`
[INFO] [stdout]  --> src/prelude/no_std.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use core::ops::Range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let res = unsafe { freertos_rs_take_recursive_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num::Wrapping`
[INFO] [stdout]  --> src/prelude/no_std.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use core::num::Wrapping;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::intrinsics::write_bytes`
[INFO] [stdout]   --> src/prelude/no_std.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use core::intrinsics::write_bytes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         unsafe { freertos_rs_give_recursive_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::rc::Rc`
[INFO] [stdout]   --> src/prelude/no_std.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use alloc::rc::Rc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::base::*`
[INFO] [stdout]  --> src/shim.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::base::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/shim.rs:107:36
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn freertos_rs_spawn_task(_f: extern fn(FreeRtosMutVoidPtr) -> FreeRtosMutVoidPtr, _value: FreeRtosMutVoidPtr, _name: FreeR...
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/shim.rs:117:157
[INFO] [stdout]     |
[INFO] [stdout] 117 | ...er_id: FreeRtosVoidPtr, _callback: extern fn(FreeRtosTimerHandle) -> ()) -> FreeRtosTimerHandle { 0 as _ }
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::*`
[INFO] [stdout]  --> src/timers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::task::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mutex::*`
[INFO] [stdout]  --> src/timers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::mutex::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::queue::*`
[INFO] [stdout]  --> src/timers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::queue::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { freertos_rs_get_portTICK_PERIOD_MS() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         unsafe { freertos_rs_max_wait() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/utils.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let c_size = unsafe { freertos_rs_sizeof(check.0) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/isr.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             unsafe { freertos_rs_isr_yield(); }
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/delays.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]  --> src/critical.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         unsafe { freertos_rs_enter_critical(); }
[INFO] [stdout]   |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/critical.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe { freertos_rs_exit_critical(); }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library
[INFO] [stdout]   --> src/prelude/no_std.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use core::intrinsics::write_bytes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-06-12; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]  --> src/units.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]  --> src/units.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0658`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `freertos_rs` (lib test) due to 1 previous error; 57 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/timers.rs:74:45
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...                   callback: Box<Fn(Timer) + Send + 'a>,)
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 |                               callback: Box<dyn Fn(Timer) + Send + 'a>,)
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:108:72
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<dyn Fn(Timer)>);
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:191:56
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<dyn Fn(Timer)>);
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         unsafe { freertos_rs_task_notify_take(if clear { 1 } else { 0 }, wait_for.to_ticks()) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let r = unsafe { 
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         unsafe { freertos_rs_xTaskGetTickCount() }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         unsafe { freertos_rs_get_number_of_tasks() as usize }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let handle = unsafe { freertos_rs_queue_create(max_size as u32, item_size as u32) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/mutex.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let m = unsafe { freertos_rs_create_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:125:19
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let res = unsafe { freertos_rs_take_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         unsafe { freertos_rs_give_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:154:17
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let m = unsafe { freertos_rs_create_recursive_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let res = unsafe { freertos_rs_take_recursive_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         unsafe { freertos_rs_give_recursive_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { freertos_rs_get_portTICK_PERIOD_MS() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         unsafe { freertos_rs_max_wait() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/utils.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let c_size = unsafe { freertos_rs_sizeof(check.0) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/isr.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             unsafe { freertos_rs_isr_yield(); }
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/delays.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]  --> src/critical.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         unsafe { freertos_rs_enter_critical(); }
[INFO] [stdout]   |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/critical.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe { freertos_rs_exit_critical(); }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0658`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `freertos_rs` (lib) due to 1 previous error; 57 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7310280ef1e651f0b45144aa6ee6fe65a38c494d57adc9bbc2f02d8c7144374e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7310280ef1e651f0b45144aa6ee6fe65a38c494d57adc9bbc2f02d8c7144374e", kill_on_drop: false }`
[INFO] [stdout] 7310280ef1e651f0b45144aa6ee6fe65a38c494d57adc9bbc2f02d8c7144374e
